package com.ljd.service;

import com.ljd.entity.EduChapter;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ljd.entity.vo.ChapterVo;

import java.util.List;

/**
 * <p>
 * 课程 服务类
 * </p>
 *
 * @author ljd
 * @since 2021-12-10
 */
public interface EduChapterService extends IService<EduChapter> {

    List<ChapterVo> getChapterAndVideo(String courseId);

    void saveChapter(EduChapter chapter);

    void updateChapter(EduChapter chapter);

    EduChapter getChapter(String chapterId);

    Boolean deleteChapter(String chapterId);
}
